package ay.shadow.seckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import ay.shadow.seckill.entity.Goods;
import ay.shadow.seckill.entity.vo.GoodsVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cosmos
 * @since 2022-12-26
 */
public interface IGoodsService extends IService<Goods> {
    /**
     * @Param
     * @Description 获取商品列表
     * @Return
     */
    List<GoodsVo> findGoodsVo();
    /**
     * @Param
     * @Description 跳转商品详情页
     * @Return
     */
    GoodsVo findGoodsVoByGoodsId(Long goodsId);
}
